package com.league.zjxn.main.mine

import com.blankj.utilcode.util.ActivityUtils
import com.league.zjxn.R
import com.league.zjxn.main.MainActivity
import com.module.lemlin.owner.OwnerAbstractActivity
import kotlinx.android.synthetic.main.activity_league_notice.*
import kotlinx.android.synthetic.main.activity_league_success.*

class LeagueSuccessActivity : OwnerAbstractActivity() {

    companion object {
        fun open() {
            ActivityUtils.startActivity(LeagueSuccessActivity::class.java)
        }
    }

    override val layoutResId: Int
        get() = R.layout.activity_league_success

    override fun initView() {
        tvLeagueSuccessBack.setOnClickListener {
            MainActivity.open()
        }
    }

    override fun onBackPressed() {
        MainActivity.open()
    }
}